<#import "../tpl/htmlTep.ftl" as html>

<@html.htmlBase checkLogin=false >
<link rel="stylesheet" href="${staticpath}/base/bui-admin/index.css">
<body>
<div id="login">
    <div class="head">
        味爱地图后台管理系统
        <span class="tip">登录</span>
    </div>
    <div class="middle">
        <form class="form-horizontal " action="${basepath}/rest/manage/user/login" method="post">
            <div class="login">
                <div class="in">后台管理</div>
                <div class="name">用户登录</div>
                <div class="input-box ">
                    <i class="iconfont ico icon-yonghu"></i>
                    <input type="text" class="box-inp cell-main" value="${e.username!}" name="username"
                           placeholder="请输入用户名" id="username" autofocus>
                </div>
                <div class="input-box">
                    <i class="iconfont ico icon-mima"></i>
                    <input type="password" class="box-inp" onfocus="this.type='password'" name="password"
                           placeholder="请输入密码" label="密码">
                </div>
                <div class="item-box">
                    <label for="">
                        <input type="checkbox" class="check">下次自动登录</label>
                       <#if errorMsg??>
            <span class="error-tips"><i class="iconfont icon-jinggao"></i> ${errorMsg}</span>
                       </#if>
                </div>

                <button type="submit" class="btn">登录</button>
            </div>
    </div>
</body>
</@html.htmlBase>
